import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

//引入并使用按需注册组件的插件
import plugins from "@/plugins_Certified_components";
Vue.use(plugins)


//引入路由
import VueRouter from "vue-router";
Vue.use(VueRouter)
import Router from "@/router/Router";
Vue.use(Router)

//使用Store
import Store from '@/Store/Store'




//全局事件总线
new Vue({
  beforeCreate(){
    Vue.prototype.$bus = this
  }
})

new Vue({
  router:Router,
  store:Store,
  render: h => h(App),
}).$mount('#app')
